<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{addAlertasParametros.page1}" id="page1">
            <ui:html binding="#{addAlertasParametros.html1}" id="html1">
                <ui:head binding="#{addAlertasParametros.head1}" id="head1">
                    <ui:link binding="#{addAlertasParametros.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{addAlertasParametros.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{addAlertasParametros.form1}" id="form1">
                        <ui:button action="#{addAlertasParametros.button1_action}" binding="#{addAlertasParametros.button1}" id="button1" immediate="true"
                            mini="true" primary="true" style="left: 71px; top: 120px; position: absolute; width: 67px" text="Cerrar"/>
                        <ui:button action="#{addAlertasParametros.button2_action}" binding="#{addAlertasParametros.button2}" id="button2" immediate="true"
                            mini="true" primary="true" style="left: 71px; top: 288px; position: absolute; width: 68px" text="&lt; Regresar"/>
                        <ui:staticText binding="#{addAlertasParametros.staticText1}" id="staticText1"
                            style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 18px; left: 240px; top: 120px; position: absolute" text="Agregar Parametros de Alertas"/>
                        <ui:button action="#{addAlertasParametros.button3_action}" binding="#{addAlertasParametros.button3}" id="button3" mini="true"
                            primary="true" style="left: 143px; top: 288px; position: absolute; width: 79px" text="Guardar"/>
                        <ui:table augmentTitle="false" binding="#{addAlertasParametros.table1}" footerText="por favor digite todos los valores" id="table1"
                            style="left: 72px; top: 312px; position: absolute; width: 522px" title="Definir Tiempos" width="522">
                            <script><![CDATA[
/* ----- Functions for Table Preferences Panel ----- */
/*
 * Toggle the table preferences panel open or closed
 */
function togglePreferencesPanel() {
  var table = document.getElementById("form1:table1");
  table.toggleTblePreferencesPanel();
}
/* ----- Functions for Filter Panel ----- */
/*
 * Return true if the filter menu has actually changed,
 * so the corresponding event should be allowed to continue.
 */
function filterMenuChanged() {
  var table = document.getElementById("form1:table1");
  return table.filterMenuChanged();
}
/*
 * Toggle the custom filter panel (if any) open or closed.
 */
function toggleFilterPanel() {
  var table = document.getElementById("form1:table1");
  return table.toggleTableFilterPanel();
}
/* ----- Functions for Table Actions ----- */
/*
 * Initialize all rows of the table when the state
 * of selected rows changes.
 */
function initAllRows() {
  var table = document.getElementById("form1:table1");
  table.initAllRows();
}
/*
 * Set the selected state for the given row groups
 * displayed in the table.  This functionality requires
 * the 'selectId' of the tableColumn to be set.
 *
 * @param rowGroupId HTML element id of the tableRowGroup component
 * @param selected Flag indicating whether components should be selected
 */
function selectGroupRows(rowGroupId, selected) {
  var table = document.getElementById("form1:table1");
  table.selectGroupRows(rowGroupId, selected);
}
/*
 * Disable all table actions if no rows have been selected.
 */
function disableActions() {
  // Determine whether any rows are currently selected
  var table = document.getElementById("form1:table1");
  var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
  // Set disabled state for top actions
  document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
  // Set disabled state for bottom actions
  document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
}]]></script>
                            <f:facet name="actionsTop">
                                <ui:button action="#{addAlertasParametros.button4_action}" binding="#{addAlertasParametros.button4}" id="button4"
                                    immediate="true" mini="true" primary="true" reset="true" style="width: 76px" text="Limpiar todo"/>
                            </f:facet>
                            <ui:tableRowGroup binding="#{addAlertasParametros.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                sourceData="#{addAlertasParametros.sct0021DataProvider}" sourceVar="currentRow">
                                <ui:tableColumn binding="#{addAlertasParametros.tableColumn1}" headerText="Etapa" id="tableColumn1">
                                    <ui:staticText binding="#{addAlertasParametros.staticText2}" id="staticText2" text="#{addAlertasParametros.cumple}"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{addAlertasParametros.tableColumn2}" headerText="Tiempo 1era etapa (Horas)"
                                    id="tableColumn2" width="141">
                                    <ui:textField binding="#{addAlertasParametros.textField1}" columns="6" id="textField1" maxLength="3" required="true" text=""
                                        validator="#{addAlertasParametros.lengthValidator1.validate}" valueChangeListener="#{addAlertasParametros.textField1_processValueChange}"/>
                                    <ui:staticText binding="#{addAlertasParametros.staticText6}" id="staticText6" visible="false"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{addAlertasParametros.tableColumn3}" headerText="Timepo 2da etapa (Horas)" id="tableColumn3">
                                    <ui:textField binding="#{addAlertasParametros.textField2}" columns="6" id="textField2" maxLength="3" required="true" text=""
                                        validator="#{addAlertasParametros.lengthValidator2.validate}" valueChangeListener="#{addAlertasParametros.textField2_processValueChange}"/>
                                    <ui:staticText binding="#{addAlertasParametros.staticText7}" id="staticText7" visible="false"/>
                                </ui:tableColumn>
                                <ui:tableColumn align="center" binding="#{addAlertasParametros.tableColumn4}" headerText="Tiempo re-asignación (Horas)" id="tableColumn4">
                                    <ui:textField binding="#{addAlertasParametros.textField3}" columns="6" id="textField3" maxLength="3" required="true" text=""
                                        validator="#{addAlertasParametros.lengthValidator3.validate}" valueChangeListener="#{addAlertasParametros.textField3_processValueChange}"/>
                                    <ui:staticText binding="#{addAlertasParametros.staticText8}" id="staticText8" visible="false"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                        </ui:table>
                        <ui:alert binding="#{addAlertasParametros.alert1}" id="alert1" style="left: 96px; top: 576px; position: absolute"/>
                        <ui:messageGroup binding="#{addAlertasParametros.messageGroup1}" id="messageGroup1" style="height: 73px; left: 600px; top: 312px; position: absolute"/>
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                        <ui:panelLayout binding="#{addAlertasParametros.layoutPanel1}" id="layoutPanel1" style="border-width: 1px; border-style: solid; border-color: rgb(204, 204, 204) rgb(204, 204, 204) rgb(204, 204, 204) rgb(204, 204, 204); height: 88px; left: 72px; top: 168px; position: absolute; width: 475px; -rave-layout: grid">
                            <ui:label binding="#{addAlertasParametros.label1}" id="label1" style="left: 25px; top: 13px; position: absolute" text="Producto:"/>
                            <ui:label binding="#{addAlertasParametros.label2}" id="label2" style="left: 24px; top: 37px; position: absolute" text="Sublinea:"/>
                            <ui:label binding="#{addAlertasParametros.label3}" id="label3" style="left: 24px; top: 61px; position: absolute" text="Tipo Solicitud:"/>
                            <ui:staticText binding="#{addAlertasParametros.staticText3}" id="staticText3" style="left: 125px; top: 13px; position: absolute" text="#{addAlertasParametros.sct0004DataProviderProduc.value['SCT0004.DSCRPCION']}"/>
                            <ui:staticText binding="#{addAlertasParametros.staticText4}" id="staticText4" style="left: 126px; top: 36px; position: absolute" text="#{addAlertasParametros.sct0019DataProviderSubline.value['SCT0019.DSCRPCIONSBLNEA']}"/>
                            <ui:staticText binding="#{addAlertasParametros.staticText5}" id="staticText5" style="left: 125px; top: 59px; position: absolute" text="#{addAlertasParametros.sct0021DataProviderTipoSolic.value['SCT0021.DSCRPCIONTPOSLCTUD']}"/>
                        </ui:panelLayout>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
